package wgff.xml.iTunes
{
	import flash.filesystem.File;
	
	public class libraryFile
	{
		
		public static function getLibraryPath():File
		{
			return libraryFile.getLibraryFolderPath().resolvePath("iTunes Music Library.xml");
		}
		
		public static function getLibraryFolderPath():File
		{
			var f:File = new File();
			f = File.documentsDirectory.resolvePath("My Music").resolvePath("iTunes");
			if (!f.exists) f = File.userDirectory.resolvePath("Music").resolvePath("iTunes");
			return f;
		}
		
		

	}
}